﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Test
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            MyTestTextBox myTestTextBox1 = new MyTestTextBox();
            myTestTextBox1.Location = new System.Drawing.Point(10, 10);
            myTestTextBox1.Size = new System.Drawing.Size(200, 50);

            // 将自定义控件添加到窗体的控件集合
            this.Controls.Add(myTestTextBox1);

        }

    
    }
}
